<?php get_header(); ?>
        <?php /* The Loop — with comments! */ ?>         
		<?php //while ( have_posts() ) : the_post() ?>
		<?php 
							$current_user = wp_get_current_user();
							$my_query = new WP_Query(array(
                                'post_type'=> 'post',
                                'post_status' => 'publish',
                                'meta_query' => array(
                                							'relation' => 'OR',
													        array(
													            'key' => 'meta_permisos_usuarios',
													            'value' => 'todos',
													            'compare' => '='
													        ),
													        array(
													            'key' => 'meta_permisos_usuarios',
													            'value' =>$current_user->user_login,
													            'compare' => '='
													        )
													    ),                              ));

							if($my_query->have_posts()):while($my_query->have_posts()):$my_query->the_post();?>
			
			
			
			
			<?php //Articulo ?>
		   <div class="span9">
				<?php /* an h2 title */ ?>                           
				<h2><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'your-theme'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
				<?php the_excerpt(); ?>
		   </div><!--/span-->
		           <hr>
		<?php endwhile; endif; ?>
		
			</div><!--.span9 -->
		</div><!-- .row -->

      <hr>

      <footer>
        <p>© Company 2013</p>
      </footer>

    </div><!--.container -->
	<?php wp_footer(); ?>
</body>
</html>